/*
 Navicat Premium Data Transfer

 Source Server         : 本地MySql
 Source Server Type    : MySQL
 Source Server Version : 80022
 Source Host           : localhost:3306
 Source Schema         : security_spring

 Target Server Type    : MySQL
 Target Server Version : 80022
 File Encoding         : 65001

 Date: 11/01/2021 22:41:12
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for t_purview
-- ----------------------------
DROP TABLE IF EXISTS `t_purview`;
CREATE TABLE `t_purview` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '权限标识',
  `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '权限编码',
  `des` varchar(1024) DEFAULT NULL COMMENT '权限描述',
  `url` varchar(1024) DEFAULT NULL COMMENT '资源地址',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- ----------------------------
-- Records of t_purview
-- ----------------------------
BEGIN;
INSERT INTO `t_purview` VALUES (1, 'p1', '资源1访问权限测试', '/auth/r/r1');
INSERT INTO `t_purview` VALUES (2, 'p2', '资源2访问权限测试', '/auth/r/r2');
INSERT INTO `t_purview` VALUES (3, 'p3', '资源3访问权限测试', '/auth/r/r3');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
